package com.gwtintegration.smartrf.shared;

import com.google.web.bindery.requestfactory.shared.BaseProxy;
import com.google.web.bindery.requestfactory.shared.Request;

public interface DataSourceRequestContext<T extends BaseProxy> {

	<X extends DataResponseValueProxy<T>> Request<X> fetch(DataRequestValueProxy dataRequest);

	Request<T> add(T entity);

	Request<T> update(T entity);

	Request<Void> remove(T entity);

}
